package com.ocom.jobhandler.feign;

import com.ocom.common.constant.HumanServiceUrl;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "human")
public interface HumanClientService {

    @PostMapping(HumanServiceUrl.URL_saveUserRegion)
    public Result saveUserRegion(@RequestParam("comId") Long comId);


    //仅侨初用
    @PostMapping(HumanServiceUrl.URL_modifyUserState)
    public Result updateUserRegion() ;

    @GetMapping(HumanServiceUrl.URL_TimerPersonnelFeature)
    public Result feature() ;
}
